namespace graver.CodeAnalysis.Syntax;

/// <summary>
/// 语法树节点抽象类型
/// </summary>
public abstract class SyntaxNode
{
    /// <summary>
    /// 节点类型
    /// </summary>
    public abstract SyntaxKind Kind { get; }

    /// <summary>
    /// 子节点
    /// </summary>
    public abstract IEnumerable<SyntaxNode> GetChildren();
}
